package com.timesheet.gui.efforttracker.container;

import java.util.List;

import com.timesheet.server.common.models.EffortTrackerDTO;
import com.timesheet.server.common.models.ViewModel;

public class LeaveModelContainer extends ViewModel {
	
	private static LeaveModelContainer modelContainer;
	
	private List<EffortTrackerDTO> myLeaves ;
	
	public static LeaveModelContainer getInstance() {
		if (modelContainer == null) {
			modelContainer = new LeaveModelContainer();
		}
		return modelContainer;
	}
	
	public void setMyLeaves(List<EffortTrackerDTO> myLeaves){
		this.myLeaves = myLeaves ;
	}
	
	public List<EffortTrackerDTO> getMyLeaves() {
		return myLeaves;
	}

}
